package com.yvon.maple.service.system.service;

import com.yvon.boot.mybatis.IBaseTreeService;
import com.yvon.maple.service.system.entity.Dept;

import java.util.List;

/**
 * @author : Yvon
 * @since : 2021-11-10
 */
public interface DeptService extends IBaseTreeService<Dept> {

    List<Dept> listDataByLevel(int level, Long parentId);

    Integer getMaxSort(Long parentId);
}
